OPENQASM 2.0;
include "qelib1.inc";
qreg q[3];
creg c[3];
h q[0];
h q[1];
h q[2];
cx q[0],q[1];
cx q[2],q[1];
u(0.0,-0.3926990816987242,-0.3926990816987242) q[1];
cx q[0],q[1];
rz(0.7853981633974483) q[0];
u(0.0,-0.3926990816987242,-0.3926990816987242) q[1];
rz(-1.0472) q[0];
cx q[2],q[1];
u(0.0,0.3926990816987242,0.3926990816987242) q[1];
rz(0.7853981633974483) q[2];
u(0.0,0.3926990816987242,0.3926990816987242) q[1];
rz(1.0472) q[2];
rz(1.0472) q[1];
measure q[0] -> c[0];
measure q[1] -> c[1];
measure q[2] -> c[2];